package com.asset.dispoal.file.agreementCaseData.api;

import com.asset.dispoal.file.agreementCaseData.dto.AddressGetCodeRequest;
import com.asset.dispoal.file.agreementCaseData.dto.AgreementExportRequest;
import com.asset.dispoal.file.agreementCaseData.dto.ExportEvidenceDataRequest;
import com.asset.dispoal.file.agreementCaseData.dto.ImportAbolishCaseRequest;
import com.asset.dispoal.file.agreementCaseData.dto.ImportRevertCaseRequest;
import com.asset.dispoal.file.agreementCaseData.dto.ImportSmsStateRequest;
import com.asset.dispoal.file.agreementCaseData.dto.RefreshIdCardRequest;
import org.springframework.web.multipart.MultipartFile;
import tech.mhuang.pacebox.springboot.protocol.Result;

import javax.servlet.http.HttpServletResponse;

/**
 * @author qr
 * @date 2022/4/6$
 */
public interface AgreementCaseDataService {


    /**
     * 导入合同清单
     *
     * @param multipartFile
     * @return
     */
    Result<String> importData(MultipartFile multipartFile);

    /**
     * 根据路径导入合同
     *
     * @param filePath
     * @return
     */
    Result uploadExcel(String filePath, String assetInstBatchId);

    void exportExcelTemplate(HttpServletResponse response, String assetInstBatchId);

    void exportExcel(HttpServletResponse response, AgreementExportRequest request);

    void exportEvidenceData(HttpServletResponse response, ExportEvidenceDataRequest request);

    Result importAbolishCase(ImportAbolishCaseRequest request);

    Result refreshIdCard(RefreshIdCardRequest request);

    Result importSmsState(ImportSmsStateRequest request);

    Result exportNoIdCardRefreshData(String id);

    Result importIdCardDate(MultipartFile file);

    Result importRevertCase(ImportRevertCaseRequest request);

    Result caseAddressGetCode(AddressGetCodeRequest request);

    void exportCaseExcel(HttpServletResponse response, AgreementExportRequest request);
}
